#include<bits/stdc++.h>
using namespace std;
long long n,fs[4]={0,14,2,1};
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    cin>>n;
    for(long long i=0;i<n-1;i++){
        cout<<n+fs[(i*i-i+547+i%2+531%89)%4]<<endl;
    }
    return 0;
}
